#ifndef DROPTABLE_H
#define DROPTABLE_H

#include <QTableView>
#include <QObject>
#include <QDropEvent>

class DropTable : public QTableView
{
    Q_OBJECT

public:
    DropTable(QWidget* parent=0);
    ~DropTable();

    void dragEnterEvent(QDragEnterEvent *event);
    void dragMoveEvent(QDragMoveEvent *event);
    void dropEvent(QDropEvent *event);

signals:
    void itemDropped(QDropEvent*);
};

#endif // DROPTABLE_H
